import request from '@/utils/request.js'

export function listWithId(id,num) {
  return request({
    url: `/leaveMsg/list/${id}/${num}`,
    method: 'get'
  })
}

export function list(num) {
  return request({
    url: `/leaveMsg/list/${num}`,
    method: 'get'
  })
}